@layout("/common/_containersd.html"){
<style>
    ul{padding: 0;}
    .ulBox1>li{margin: 10px 0;}
    .ulBox>li span{ display: inline-block ;width: 80px;}
    .ulBox1>li span:first-of-type{ color: #666666; display: inline-block ;width: 120px;text-align: right;margin-right: 10px;font-weight: bold;font-size: 20px;}
    .ulBox1>li span:last-of-type{font-weight: bold}
    .btnBox>button{border:1px solid #cccccc;border-radius: 4px;background: white;color: #333333}
</style>
<div class="ibox float-e-margins ">
    <div class="ibox-content record_box">
        <div style="display: none">
            <input type="hidden" id="endTimeValue" value="${endTime}">
            <input type="hidden" id="startTimeValue" value="${startTime}">
            <input type="hidden" id="doctorValue" value="${customerInfo.doctor}">
        </div>
        <div class="row">
            <div class="col-sm-12" style="border-bottom: 1px solid #eeeeee;padding-bottom: 15px;">
                <ul class="ulBox">
                    <li><span>姓名：</span>${customerInfo.customerName}</li>
                    <li><span>病历号：</span>${customerInfo.medicalRecordNumber}</li>
                    <li><span>电话：</span>${customerInfo.customerPhone}</li>
                    <li><span>年龄：</span>${customerInfo.customerAge}</li>
                    <li><span>医生：</span>${customerInfo.doctor}</li>
                    <li><span>门诊：</span>${customerInfo.arrivalStore}</li>
                </ul>
            </div>
            <div class="col-sm-12" style="padding: 20px 0;">
                <ul class="ulBox1">
                    <li><span>预约时间：</span><span>${startTime}</span></li>
                    <li><span>咨询师：</span><span>${customerInfo.fieldTc}</span></li>
                    <li><span>预约医生：</span><span>${customerInfo.doctor}</span></li>
                    <li><span>预约项目：</span><span>${customerInfo.appointmentPayService}</span></li>
                    <li><span>预约备注：</span><span>${customerInfo.remarks}</span></li>
                    <li><span>初诊日期：</span><span>${customerInfo.firstVisitDate}</span></li>
                    <li><span>创建时间：</span><span>${customerInfo.filingTime}</span></li>
                    <li><span>创建人：</span><span>${customerInfo.archiving}</span></li>
                </ul>
            </div>
            <div class="col-sm-12">
                <div class="btnBox">
                    <button type="button" class="btn" id="modify">修改</button>
                    <button type="button" class="btn" id="cancel">取消</button>
                    <button type="button" class="btn" id="register">挂号</button>
                    <button type="button" class="btn" id="determine">确认</button>
                    <button type="button" class="btn" id="modification">改约</button>
                    <button type="button" class="btn" id="appointment">再次预约</button>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
//    $(document).click(function () {
//        parent.layer.close(parent.layer.getFrameIndex(window.name));
//    });
//    $("#modify").click(function () {
//        var startTime = $("#startTimeValue").val();
//        var endTime = $("#endTimeValue").val();
//        var doctor = $("#doctorValue").val();
//        var eventData = startTime + "," + endTime + "," + doctor;
//        var index = layer.open({
//            type: 2,
//            title: '添加预约客户',
//            area: ['60%', '90%'], //宽高
//            fix: true, //不固定
//            maxmin: true,
//            content: Feng.ctxPath + '/doctorLooked/doctor_addTask/' + eventData
//        });
//        this.layerIndex = index;
//    })
</script>
@}